import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: '/demo1',
  },
  {
    path: '/demo1',
    name: 'DemoOne',
    component: () => import(/* webpackChunkName: "about" */ '../views/demo1.vue')
  },
  {
    path: '/demo2',
    name: 'DemoTwo',
    component: () => import(/* webpackChunkName: "about" */ '../views/demo2.vue')
  },
  {
    path: '/demo3',
    name: 'DemoThree',

    component: () => import(/* webpackChunkName: "about" */ '../views/demo3.vue')
  },
  {
    path: '/demo4',
    name: 'DemoFour',
    component: () => import(/* webpackChunkName: "about" */ '../views/demo4.vue')
  },
  {
    path: '/demo5',
    name: 'DemoFive',
    component: () => import(/* webpackChunkName: "about" */ '../views/demo5.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
